<?php
namespace Procesos\Cargador\Workflow;
class BaseHandler {
	public $text;
	public static $session = NULL;
	public function __construct() {
		$this->text = '';

	}

	public function startElement($parser, $tag, $attributes) { 
		$this->text = '';
	}

	public function characters($parser, $cdata) {
		$this->text .= $cdata;
	}

	public function endElement($parser, $tag) {
		$this->text = str_replace('&','&amp;',trim($this->text, " \t\n\r\0"));   
	}
}
?>